import $ from 'jquery'

//隔行变色的代码
$('ul>li:even').css('color','green')
$('ul>li:odd').css('color','red')

//引入css
import './css/index.css'

//引入less
import './less/index.less'

//引入图片
import imgObj from './assets/images/1.gif'

let img = document.createElement('img')

img.src = imgObj

document.body.appendChild(img)

//引入字体图标
import './assets/fonts/iconfont.css'

let i = document.createElement('i')
i.className = 'iconfont icon-qq'
document.body.appendChild(i)

//编译高级函数
const fn = ()=>{
    console.log('黑凤梨');
}
console.log(fn);

